class_name NumberC
extends Node

# do not use this class directly, use it to extends

export var value = 0 setget _set_val, _get_val

var _notify: Notify  #set from mutil
var _id: int 		 #entity id

func _set_val(val):
	value = val
	if _notify:
		_notify.modify_event(_id, "value")


func _get_val():
	return value
